Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TurboHook V.1.1.0 Update #706

Closed
wants to merge 2 commits into from
Closed

Conversation

CubesterYT
Copy link
Collaborator

Hello again! I'm putting up the PR again because I did some fatal merges to the master branch of my fork, causing me to have to delete my entire fork. So using my backups, I remade the PR. So let me reiterate the last PR:

The moment everyone's been waiting for... TurboHook V.1.1.0!!!

This update includes full embed support, JSON support, bugfixes, typo fixes, some semi colons, extra space removals, and so much more.

Here is the current roster:
image

embedConnector ({STRING1, STRING2}) {
STRING1 = Scratch.Cast.toString(STRING1);
STRING2 = Scratch.Cast.toString(STRING2);
if (STRING1.includes("author") && STRING2.includes("author")) {
Copy link
Member

@GarboMuffin GarboMuffin Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

making the same mistakes as you did in the original version

you can make this work without duplicating all sorts of code and in a way that is much more reliable

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

believe what you want is something like "js deep merge objects", but also be careful of "prototype pollution" bugs

@GarboMuffin
Copy link
Member

the documentation should contain some actual examples at this point

going to be honest, the entire system of reporters and connectors you have seems to just add a whole lot of complexity that a couple "set text to [ ]" blocks would've avoided...

@CubesterYT
Copy link
Collaborator Author

These days, I've been thinking about the future of TurboHook. Since TurboHook was meant for webhooks, it should just be webhooks. Nothing specific. I've been thinking of overhauling the entire system for TurboHook. After I've had people legitimately use it for webhooks other than those of Discord, I've been thinking of changing the entire setup of TurboHook to have 1 - 3 simple blocks meant for webhooks. I've been thinking of it ever since I added JSON support. So I might take down this PR and put up a V.2.0.0 PR for TurboHook with an entire overhaul of it. Just a quick question, all I have to do to remove previous blocks is just add "hideFromPalatte = true"?

@CubesterYT CubesterYT marked this pull request as draft July 27, 2023 01:26
@CubesterYT
Copy link
Collaborator Author

Sorry, didn't mean to request a review here.

@BlueDome77
Copy link
Contributor

all I have to do to remove previous blocks is just add "hideFromPalatte = true"?

Correct

@CubesterYT
Copy link
Collaborator Author

all I have to do to remove previous blocks is just add "hideFromPalatte = true"?

Correct

Lol you didn't have to tell me, I found out some time later.

@CubesterYT CubesterYT closed this Aug 29, 2023
@CubesterYT CubesterYT deleted the TurboHook branch August 29, 2023 20:05
@CubesterYT CubesterYT restored the TurboHook branch August 29, 2023 20:05
@CubesterYT CubesterYT deleted the TurboHook branch August 29, 2023 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants